package com.mxt.dao;

import com.mxt.entity.Customer;
import com.mxt.entity.QueryCustomer;

import java.util.List;

public interface CustomerDao {
    public List<Customer> queryAll();
    public  List<Customer> queryByQueryCustomer(QueryCustomer qc);
    public  int queryByQueryCustomerCount(QueryCustomer qc);
    public Customer queryByID(int id);
    public  boolean update(Customer customer);
    public  boolean delete(int id);
}
